<?php 
class article{
	private id;
	private title;
	private author;
	private content;
	private keyword;
	private date;
	private settohomepage;
	
	/*-----get and set-----*/
	public function setid($value){
		$this->id=$value;
	}
	public function getid(){
		return $this->id;
	}
	
	public function settitle($value){
		$this->title=$value;
	}
	public function gettitle(){
		return $this->title;
	}
	
	public function setauthor($value){
		$this->author=$value;
	}
	public function getauthor(){
		return $this->author;
	}
	
	public function setcontent($value){
		$this->content=$value;
	}
	public function getcontent(){
		return $this->content;
	}
	
	public function setkeyword($value){
		$this->keyword=$value;
	}
	public function getkeyword(){
		return $this->keyword;
	}
	
	public function setdate($value){
		$this->date=$value;
	}
	public function getdate(){
		return $this->date;
	}
	
	public function setsettohomepage($value){
		$this->settohomepage=$value;
	}
	public function getsettohomepage(){
		return $this->settohomepage;
	}
	
}

?>